package com.yxw.live_vod_facade.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 附件VO
 * @author liuxin
 * @date 2023-11-15
 */
@Data
@ApiModel(value="YxFileVo", description="附件VO")
public class YxFileVo implements Serializable {

    @ApiModelProperty("附件ID")
    private Long id;

    @ApiModelProperty("业务ID")
    private Long bussId;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件大小")
    private Long fileSize;

    @ApiModelProperty("上传路径")
    private String fileUrl;

    @ApiModelProperty("文件后缀名")
    private String fileType;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("上传时间")
    private Date createTime;

    @ApiModelProperty("上传人ID")
    private Long createId;

    @ApiModelProperty("上传人")
    private String createName;

    @ApiModelProperty("存储objectKey")
    private String objectKey;

    @ApiModelProperty("备注")
    private String remark;
}
